<#assign ctx=request.contextPath />
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>终止当前流程</title>
    <link rel="stylesheet" href="${ctx}/css.css">
</head>
<body>
<div class="top">
    <a href="${ctx}/hello" class="backtrack"><img src="${ctx}/0.png"></a>
    <a href="javascript:history.back(-1);" class="return"><img src="${ctx}/12.png"></a>
    <div class="box">
        终止当前流程
    </div>
</div>
<div class="empty"></div>
<#if (errors?? && errors?size>0)>
<ul class="hint">
    <#list errors as err>
        <li>${err}</li>
    </#list>
</ul>
</#if>
<form id="frm1" action="${ctx}/lossMng/cancelTicket/${tp.pinst.id}">
<table class="list_box">
    <tr hidden>
        <td class="lo_3">ID</td>
        <td class="lo_4">${(tp.task.id)!""}</td>
    </tr>
    <tr class="lo_7">
        <td class="lo_3">实例名称</td>
        <td class="lo_4">${(tp.pinst.name)!""}</td>
    </tr>
    <tr>
        <td class="lo_3">工单ID</td>
        <td class="lo_4">${(tp.pinst.businessKey)!""}</td>
    </tr>
    <tr>
        <td class="lo_3">名称</td>
        <td class="lo_4">${(tp.task.name)!""}</td>
    </tr>
    <tr>
        <td class="lo_3">状态</td>
        <td class="lo_4">${(tp.task.status)!""}</td>
    </tr>
    <tr>
        <td class="lo_3">分配人</td>
        <td class="lo_4">${(tp.task.assignee)!""}</td>
    </tr>
    <tr>
        <td class="lo_3">创建日期</td>
        <td class="lo_4">${(tp.task.createDate?datetime)!}</td>
    <tr>
    <tr>
        <td class="lo_3">所有者</td>
        <td class="lo_4">${(tp.task.owner)!""}</td>
    </tr>
    <tr>
        <td class="lo_3">签收日期</td>
        <td class="lo_4">${(tp.task.claimDate?datetime)!}</td>
    </tr>
    <tr>
        <td class="lo_3 lo_5"><label>终止原因</label></td>
        <td class="lo_4 lo_5" colspan="2"><textarea title="终止原因" name="cancelReason" class="flow lo_5"></textarea></td>
    </tr>
    <tr>
        <td class="lo_3" colspan="3"><input type="submit" value="  提交  " class="affirm_1"></td>
    </tr>
</table>
</form>
</body>
</html>